package com.training1.core.modules.dao;

import java.math.BigDecimal;
import java.util.List;

import com.training1.core.common.dao.CrudDao;
import com.training1.core.common.dao.annotation.MyBatisDao;
import com.training1.core.entity.DelayMoneyEntity;
import com.training1.core.entity.DelayMoneyListEntity;
@MyBatisDao
public interface DelayMoneyDao extends CrudDao<DelayMoneyEntity>{
	//根据合同id查询
	DelayMoneyEntity findDelay(String ContractbaseId);
	//根据合同id查询延迟收费集合
	List<DelayMoneyListEntity> findlist(String ContractbaseId);
	//更新延迟服务费
	void updateDelayAmount(String ContractbaseId,BigDecimal delayAmount);
}
